/*
 Copyright (c) 2011, Micael Hildenborg
 All rights reserved.
 */

#ifndef SHA1_H
#define SHA1_H

#include "headers_cpp.h"

void	sha1_calc_hash(const void* src, const int bytelength, unsigned char* hash);
void	sha1_to_hexstring(const unsigned char* hash, char* hexstring);
string	sha1(string plaintext);

#endif
